home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 109 / EnigmaAmiga109CD.iso / dalla rivista / amiga.free / diropus4.12b_gpl / dopus_disk / functions.h < prev    next >
C/C++ Source or Header  |  2000-01-27  |  3KB  |  79 lines

  1. /*
  2.  
  3. Directory Opus 4
  4. Original GPL release version 4.12
  5. Copyright 1993-2000 Jonathan Potter
  6.  
  7. This program is free software; you can redistribute it and/or
  8. modify it under the terms of the GNU General Public License
  9. as published by the Free Software Foundation; either version 2
  10. of the License, or (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. All users of Directory Opus 4 (including versions distributed
  22. under the GPL) are entitled to upgrade to the latest version of
  23. Directory Opus version 5 at a reduced price. Please see
  24. http://www.gpsoft.com.au for more information.
  25.  
  26. The release of Directory Opus 4 under the GPL in NO WAY affects
  27. the existing commercial status of Directory Opus 5.
  28.  
  29. */
  30.  
  31. void lsprintf __ARGS((char *,char *,...));
  32.  
  33. void main(int,char **);
  34. void get_vis_info(struct VisInfo *,char *);
  35. dopus_message(int,APTR,char *);
  36. void fill_out_req(struct RequesterBase *,struct VisInfo *);
  37. struct Gadget *addreqgadgets(struct RequesterBase *,struct TagItem **,int,int *);
  38. check_error(struct RequesterBase *,char *,int);
  39. check_disk(struct RequesterBase *,struct IOExtTD *,char *,int);
  40. check_abort(struct Window *window);
  41. check_blank_disk(struct RequesterBase *,char *,char *);
  42. void set_env(char *,struct Gadget *,int,struct DOpusListView *);
  43. void get_env(char *,struct Gadget *,int,struct DOpusListView *);
  44. void fix_listview(struct RequesterBase *,struct DOpusListView *);
  45. void select_device(struct DOpusListView *,char *);
  46. like_devices(struct DeviceNode *,struct DeviceNode *);
  47. void drive_motor(struct IOExtTD *,int);
  48. void show_sel_item(struct DOpusListView *);
  49.  
  50. open_device(char *,struct DeviceHandle *);
  51. void close_device(struct DeviceHandle *);
  52.  
  53. char **get_device_list(struct DOpusRemember **,char *);
  54. void sort_device_list(char **);
  55. struct DeviceNode *find_device(char *);
  56. void inhibit_drive(char *,ULONG);
  57. ULONG do_checksum(ULONG *);
  58. do_writeblock(struct IOExtTD *,APTR,ULONG);
  59. void border_text(struct RequesterBase *,Object_Border *,char *);
  60.  
  61. void diskop_format(struct VisInfo *,char *,int,char **);
  62. void show_device_info(struct RequesterBase *,Object_Border *,char *);
  63. void getsizestring(char *,ULONG);
  64. void getfloatstr(double,char *);
  65. do_format(struct RequesterBase *,Object_Border *,char *,char *,ULONG,char);
  66. do_initialise(struct IOExtTD *,char *,ULONG,ULONG,ULONG,ULONG,ULONG,ULONG);
  67. do_raw_format(struct RequesterBase *,Object_Border *,struct IOExtTD *,ULONG,ULONG,ULONG,ULONG,ULONG);
  68. void write_trashcan(struct RequesterBase *,Object_Border *,char *);
  69.  
  70. void diskop_diskcopy(struct VisInfo *,char *,int,char **);
  71. void show_diskcopy_info(struct RequesterBase *,Object_Border *,char *);
  72. do_diskcopy(struct RequesterBase *,Object_Border *,char *,char *,int,int,int);
  73. void bump_disk_name(char *);
  74.  
  75. void diskop_install(struct VisInfo *,int,char **);
  76. void show_install_info(struct RequesterBase *,Object_Border *,char *);
  77. install_compare_block(ULONG *,ULONG *,ULONG);
  78. do_install(struct RequesterBase *,Object_Border *,char *,int,int);
  79.